package com.boss.service;

import com.boss.pojo.User;

public interface UserService {

    //根据用户名查询用户
    User findByUsername(String username);

    //注册接口
    void register(User user);

    //登录接口
    User login(User user);
}
